Re: Date Parse

Поиск
Список
Период
Сортировка
От Chris Ruprecht
Тема Re: Date Parse
Дата
Msg-id p0510120bb87cf82881a9@[192.168.0.6]
обсуждение исходный текст
Ответ на Date Parse  (pocm@rnl.ist.utl.pt (Paulo J. Matos))
Список pgsql-sql
Hi Paulo,

this should do for example:
select substr( 'now'::date, 6, 2 );

Best regards,
Chris

At 00:04 +0000 01/30/2002, Paulo J. Matos wrote:
>Hi all,
>
>I have a field in a table of type date.
>In a results set I get some dates. How can I access the month in
>those dates?
>
>Best regards,
>
>--
>Paulo J. Matos : pocm(_at_)rnl.ist.utl.pt
>Instituto Superior Tecnico - Lisbon   
>Software & Computer Engineering - A.I.
>  - > http://www.rnl.ist.utl.pt/~pocm
>  ---
>    Yes, God had a deadline...
>        So, He wrote it all in Lisp!
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://archives.postgresql.org


-- 
Chris Ruprecht
Network grunt and bit pusher extraordinaíre

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



В списке pgsql-sql по дате отправления:

Предыдущее
От: "Andrew G. Hammond"
Дата:
Сообщение: Re: Date Parse
Следующее
От: David Stanaway
Дата:
Сообщение: Re: [ADMIN] SQL Script